﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UFIDA.U9C.Cust.ZL.OpenAPI.PO.DTO
{
    /// <summary>
    /// 需要改价的采购订单信息
    /// </summary>
    public class POModifyReqDTO
    {
        /// <summary>
        /// 第三方订单标志		
        /// </summary>
        public string OtherID { get; set; }
        /// <summary>
        /// 采购行
        /// </summary>
        public List<POModifyLineDTO> modifylines { get; set; }
        /// <summary>
        /// 价格是否含税
        /// </summary>
        public Boolean IsPriceIncludeTax { get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; } 
    }
    /// <summary>
    /// 需要改价的采购订单行
    /// </summary>
    public class POModifyLineDTO
    {
        /// <summary>
        /// 行号
        /// </summary>
        public string DocLineNo { get; set; }
        /// <summary>
        /// 料号
        /// </summary>
        public string ItemCode { get; set; }
        ///
        ///		最终价	
        /// 
        public decimal FinallyPriceTC { get; set; }

        ///
        ///		数量
        /// 
        public decimal Qty { get; set; } = 0;
    }
}
